package com.oe.market.modules.ele.validator;


import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;


@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy=EleRedPackageValidator.class)
public @interface EleRedPackage {


    String message() default"非法的饿了么红包";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};

}
